<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Ad_Hospital.aspx.cs" Inherits="Admin_Ad_Hospital" %>
<%@ Register Src="Include/Ad_footer.ascx" TagName="Ad_footer" TagPrefix="uc3" %>
<%@ Register Src="Include/Ad_left.ascx" TagName="Ad_left" TagPrefix="uc2" %>
<%@ Register Src="Include/Ad_header.ascx" TagName="Ad_header" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Add/Edit Hospitals</title>
    <link href="include\styles.css" rel="stylesheet" />   
</head>
<body>
  
  <form id="AddMedSchool" runat="server">
    <div>
    
    <table width="100%"  border="0" cellspacing="0" cellpadding="0" id="TABLE1">

	<!-- Masthead starts from here-->
	
	<uc1:Ad_header ID="Ad_header1" runat="server" />
	
	<!-- Masthead ends here-->
	
  <tr>
    <td></td>
    <td style="width: 953px"><table width="716" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150" valign="top">
		
		<!-- Left panel starts from here-->
		
		<uc2:Ad_left ID="Ad_left1" runat="server" />
		
		<!-- Left panel ends from here-->
		</td>
        <td width="15" valign="top"><img src="../images/spacer.gif" width="15" height="1" alt="" /></td>
        <td width="551" valign="top"><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tblborder">
          <tr>
            <td width="2%" height="35"></td>
            <td width="96%" class="normalblack_12" align="center" ><b>
                <asp:Label ID="lbl_heading" runat="server" Text="Label" CssClass="normalblack_12" Font-Bold="True"></asp:Label>
            </b></td>
            <td width="2%"></td>
          </tr>
          <tr>
            <td height="15"></td>
            <td align="center" class="normalblack_12">
                <asp:Label ID="lbl_error" runat="server" Text="Label" ForeColor="Green" Visible="False"></asp:Label></td>
            <td></td>
          </tr>
          <tr>
            <td height="200"></td>
            <td valign="top" class="normalblack_12" align="center"> 
            
                     <table width="100%" align="center" class="normalgrey_12">
    <tr>
    <td align="right" style="width: 139px">
        Hospital Name&nbsp;</td>
    <td style="width: 20px">:</td>
    <td align="left">
        
        <asp:TextBox ID="txt_name" runat="server" MaxLength="100"></asp:TextBox>
        <span style="color: #ff0000">*</span> &nbsp;&nbsp;<asp:RequiredFieldValidator ID="rval_hname" runat="server" ControlToValidate="txt_name"
                Display="Dynamic" Enabled="False" ErrorMessage="Name Required"></asp:RequiredFieldValidator><span style="color: red">&nbsp; &nbsp;&nbsp;
            </span></td>
    </tr>
   
   
        <tr>
            <td align="right" style="width: 139px">
                Overall Rating (US)</td>
            <td style="width: 20px">
                :</td>
            <td align="left">
                <asp:TextBox ID="txt_rate" runat="server" MaxLength="5"></asp:TextBox>
                <asp:RegularExpressionValidator
    ID="regexpName" runat="server"     
    ErrorMessage="Invalid Characters" 
    ControlToValidate="txt_rate"      
    ValidationExpression="^[0-9.]+$" Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
        </tr>
        
         <tr>
            <td align="right" style="width: 139px">
                </td>
            <td style="width: 20px">
                </td>
            <td align="left">
                &nbsp;(Will be&nbsp; converted to FindADOC rating)</td>
        </tr>
        
        
                    
                         <tr>
                             <td align="right" style="width: 139px">
                             </td>
                             <td style="width: 12px">
                             </td>
                             <td>
                             </td>
                         </tr>
                         
                          <tr>
                             <td align="right" style="width: 139px" valign="top">
                                 Specialities</td>
                             <td style="width: 12px" valign="top">
                                 :</td>
                             <td align="left">
                                 <asp:GridView ID="grd_spec" runat="server" AutoGenerateColumns="False" OnRowDataBound="grd_spec_RowDataBound">
                                 <Columns>
                                  <asp:TemplateField HeaderText="Speciality">
                          <ItemTemplate>
                                <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' ID="Lbl_spe" NAME="Lbl_spe"/>
                            </ItemTemplate>
                            </asp:TemplateField>
                              <asp:TemplateField HeaderText="US Rating">
                                   <ItemTemplate>
                                    <asp:TextBox runat="server" id="txt_value" Width="50" MaxLength="5"/>%
                                    <asp:RegularExpressionValidator
    ID="regexpName" runat="server"     
    ErrorMessage="Invalid Characters" 
    ControlToValidate="txt_value"      
    ValidationExpression="^[0-9.]+$" Display="Dynamic"></asp:RegularExpressionValidator>

                                    </ItemTemplate>
                               </asp:TemplateField>
                        </Columns>
                                 </asp:GridView>
                             </td>
                         </tr>
        <tr>
            <td align="right" style="width: 139px">
            </td>
            <td style="width: 12px">
            </td>
            <td>
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="btn_cancel" runat="server" Text="Cancel" CausesValidation="False" OnClick="btn_cancel_Click" /></td>
        </tr>
    </table>
            
            </td>
            <td></td>
          </tr>
          <tr>
            <td height="20"></td>
            <td></td>
            <td></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td></td>
  </tr>
  <tr>
    <td colspan="3" style="height: 30px"></td>
  </tr>
  <tr>
    <td height="1" bgcolor="#CCCCCC"><img src="../images/spacer.gif" width="1" height="1" alt="" /></td>
    <td bgcolor="#CCCCCC" style="width: 953px"><img src="../images/spacer.gif" width="1" height="1" alt="" /></td>
    <td bgcolor="#CCCCCC"><img src="../images/spacer.gif" width="1" height="1" alt="" /></td>
  </tr>
  <tr>
    <td height="20" colspan="3"></td>
  </tr>
  
	<!-- Bottom starts from here-->
	
    <uc3:Ad_footer ID="Ad_footer1" runat="server" />
	
	<!-- Bottom ends here-->
	
</table>
 </div>
    </form>
    
</body>
</html>
